package com.spring.web.adminmanage.controller;

import com.spring.web.adminmanage.entities.Menu;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by hetao on 2017/9/18
 */
@Controller
@RequestMapping
public class HomeController {

    @RequestMapping(value = {"/","/index"})
    public String index(HttpServletRequest request , Model model , Menu menu ){
        return "index";
    }
}
